package guoanmaker.provider.business.modelnobind;

import java.util.Date;
import java.util.List;

import guoanmaker.provider.business.model.ProvideArea;
import guoanmaker.provider.business.model.ProvideCity;
import guoanmaker.provider.business.model.ProvideSpacefacilities;
import guoanmaker.provider.business.model.ProviderBusiness;
import guoanmaker.provider.business.model.ProviderProvince;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
public class ProvideRoomMove  {
	private String id;//主键
	
	private String roomName;//空间名称
	
	private String roomCodes;//空间编号
	
	private Integer roomCode;//空间编号后缀
	
	private String describeAsk;//空间描述
	
	private String address;//详细地址
	
	private String lat;//纬度
	
	private String lng;//经度
	
	private String roomlogo;// 空间logo
	
	private String auditOpinion;//审核意见

	private String cityName; //地级市名称
	
	private String areaName; //县级名称
	
	private String provinceName;//省级名称
	
	private String spaceDetail;//空间详情
	
	private String complement; //配套
	
	private String roomImgOne;//图片1
	
	private String roomImgTwo;//图片2
	
	private String roomImgThree;//图片3
	
	private String roomImgFour;//图片4
	
	private String roomImgFive;//图片5
	
	private Date roomTime;
	
	private Integer roomState; //空间状态   1:待审核 2:审核通过 3:审核失败 4:下架 5:冻结 ||违规
	
	private String violationReasons;//违规原因
	
	private List<ProvideSpacefacilities> spacefacilities;//空间配套
	
	private ProviderProvince province;//省
	
	private ProvideCity city;//市

	private ProvideArea area;//县
	
	private ProviderBusiness business;//所属商户
	
	private Long count;
	
	private Integer roomUnread;//空间未读记录        1:已读       0：未读
	
	public ProvideRoomMove(Integer roomState,Integer roomUnread,Long count){
		this.roomState=roomState;
		this.roomUnread=roomUnread;
		this.count=count;
	}
	
	public ProvideRoomMove(String id, String roomName, String describeAsk, String address, String lat, String lng,
			String cityName, String areaName, String provinceName, String spaceDetail, String roomImgOne,
			String roomImgTwo, String roomImgThree, String roomImgFour, String roomImgFive,String roomlogo,String complement) {
		this.id = id;
		this.roomName = roomName;
		this.describeAsk = describeAsk;
		this.address = address;
		this.lat = lat;
		this.lng = lng;
		this.cityName = cityName;
		this.areaName = areaName;
		this.provinceName = provinceName;
		this.spaceDetail = spaceDetail;
		this.roomImgOne = roomImgOne;
		this.roomImgTwo = roomImgTwo;
		this.roomImgThree = roomImgThree;
		this.roomImgFour = roomImgFour;
		this.roomImgFive = roomImgFive;
		this.roomlogo=roomlogo;
		this.complement=complement;
	}
	public ProvideRoomMove(String id, String roomName, String describeAsk, String address, String lat, String lng,
			String cityName,  String spaceDetail, String roomImgOne,
			String roomImgTwo, String roomImgThree, String roomImgFour, String roomImgFive,String roomlogo) {
		this.id = id;
		this.roomName = roomName;
		this.describeAsk = describeAsk;
		this.address = address;
		this.lat = lat;
		this.lng = lng;
		this.cityName = cityName;
		this.spaceDetail = spaceDetail;
		this.roomImgOne = roomImgOne;
		this.roomImgTwo = roomImgTwo;
		this.roomImgThree = roomImgThree;
		this.roomImgFour = roomImgFour;
		this.roomImgFive = roomImgFive;
		this.roomlogo=roomlogo;
	}
	//ProvideRoomService--------------->>>>>>>>>>>selectRoomKeyNameBusinessIdStauts
	public ProvideRoomMove(String id, String roomName,String roomCodes, String describeAsk, String address, 
			Date roomTime,Integer roomState,String auditOpinion,String violationReasons) {
		this.id = id;
		this.roomName = roomName;
		this.roomCodes = roomCodes;
		this.describeAsk = describeAsk;
		this.address = address;
		this.roomTime=roomTime;
		this.roomState=roomState;
		this.auditOpinion=auditOpinion;
		this.violationReasons=violationReasons;
	}
	//ProvideRoomService--------------->>>>>>>>>>> selectRoomListStauts
	public ProvideRoomMove(String id, String roomName) {
		this.id = id;
		this.roomName = roomName;
	}
	//ProvideRoomService--------------->>>>>>>>>>> createRoomCodes
	public ProvideRoomMove(Integer roomCode) {
		this.roomCode = roomCode;
	}
	//ProvideRoomService--------------->>>>>>>>>>>selectRoomById
	public ProvideRoomMove(String id, String roomName, String describeAsk, String address,String lat,String lng, 
			Date roomTime,Integer roomState,String auditOpinion,String violationReasons,String spaceDetail,ProviderProvince province,
			ProvideCity city,ProvideArea area,String complement,String roomImgOne,String roomImgTwo,
			String roomImgThree,String roomImgFour,String roomImgFive,String roomlogo) {
		this.id = id;
		this.roomName = roomName;
		this.describeAsk = describeAsk;
		this.address = address;
		this.lat = lat;
		this.lng = lng;
		this.roomTime=roomTime;
		this.roomState=roomState;
		this.auditOpinion=auditOpinion;
		this.violationReasons=violationReasons;
		this.spaceDetail=spaceDetail;
		this.province=province;
		this.city=city;
		this.area=area;
		this.complement=complement;
		this.roomImgOne=roomImgOne;
		this.roomImgTwo=roomImgTwo;
		this.roomImgThree=roomImgThree;
		this.roomImgFour=roomImgFour;
		this.roomImgFive=roomImgFive;
		this.roomlogo=roomlogo;
	}
	
}
